
<div id="PeopleTableContainer">

<div id="TableContainer"></div>

</div>
<div class="addRecord"></div>
<script type="text/javascript">

    $(document).ready(function() {

        //Prepare jTable
        $('#TableContainer').jtable({
            title: 'Danh sách lương thưởng',
            paging: true,
            pageSize: 15,
            pageSizeChangeArea: false,
            sorting: true,
            defaultSorting: 'ID DESC',
            actions: {
                listAction: '<?php echo base_url('nhanvien/luongthuong/get_danh_sach_luong_thuong'); ?>',
                
            },
            fields: {
                ID:{
                    key: true,
                    create: false,
                    edit: false,
                    list: false,
                    title: 'ID',
                    width: '10%',
                },
                Thang:{
                    title: 'Tháng',
                    width: '15%',
                    
                },
                Nam:{
                    title: 'Năm',
                    width: '15%',
                    //type: 'time'
                },
                Luong:{
                    title: 'Lương',
                    width: '10%',
                },
                Thuong:{
                    title: 'Thưởng',
                    width: '20%'
                },           
                KPI:{
                    title: 'KPI',
                    width: '20%'
                },
            },
        });

        //Load person list from server
        $('#TableContainer').jtable('load');
        
    });



</script>